package com.all.eureka;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @Author LY
 * @create 2024/5/21 14:59
 * @Description eureka
 */
@EnableEurekaServer
@SpringBootApplication
public class EurekaApplication {

    static final Logger logger = LoggerFactory.getLogger(EurekaApplication.class);


    public static void main(String[] args) {
        if (logger.isDebugEnabled()) {
            logger.debug("启动eureka注册中心......");
        }
        SpringApplication.run(EurekaApplication.class, args);
    }
}
